package com.cskaoyan.mall.service.mall;

import com.cskaoyan.mall.model.bo.mall.AddOrderBO;
import com.cskaoyan.mall.model.bo.mall.CartListBO;
import com.cskaoyan.mall.model.bo.mall.SendCommentBO;
import com.cskaoyan.mall.model.vo.mall.GetOrderByStateVO;

import java.util.List;

public interface MallOrdersService {
    int addOrder(AddOrderBO addOrderBO);

    List<GetOrderByStateVO> getOrderByState(String token, String state);

    int deleteOrder(String id);

    int settleAccounts(CartListBO cart);

    int confirmReceive(String id);

    int sendComment(SendCommentBO comment);

    int pay(String id);
}
